<extend name="Index/index" />

<block name="main">
<div id="tou">
    <li>
        <i class="icon-home home-icon"></i>
        <a href="<{:U('Index/index')}>">首页</a>
    </li>
    <li>》</li>
    <li class="active">权限列表</li>
</div>
	<center>
		<table width=90% class="table">
			<tr align='left' bgcolor="#ccc">
				<th>ID</th>
				<th>节点名称</th>
				<th>模块名（控制器）</th>
				<th>操作</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
			<volist name="list" id="vo">
				<tr>
					<td><{$vo.id}></td>
					<td><{$vo.name}></td>
					<td><{$vo.mname}></td>
					<td><{$vo.aname}></td>
					<td><if condition="$vo.status eq 1">启用<else />禁用</if></td>
					<td>
						<a href="<{:U('Node/del',array('id'=>$vo['id']))}>" class="btn btn-danger">删除</a>
						<a href="<{:U('Node/edit',array('id'=>$vo['id']))}>"class="btn btn-warning">修改</a>
					</td>
				</tr>
			</volist>
			
		</table>
	</center>
</block>